<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui/css/H-ui.min.css"/>
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/H-ui.admin.css"/>
    <link rel="stylesheet" type="text/css" href="../../../lib/Hui-iconfont/1.0.8/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/skin/default/skin.css" id="skin"/>
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/style.css"/>
    <link rel="stylesheet" type="text/css" href="../../../ht-css/Project.css"/>
    <link rel="stylesheet" type="text/css" href="../../../lib/Validform/5.3.2/style.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../lib/DD_belatedPNG_0.0.8a-min.js?rev=@@hash"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <style>

        td.details-control {
            cursor: pointer;
        }

        tr.shown td.details-control {
        }
    </style>
    <![endif]-->
    <title>添加等级</title>
</head>
<body>
<article class="page-co222ntainer" style="width:96%">
    <form class="form form-horizontal mt-40" id="form-level">
        <div class="row cl">
            <label class="form-label w-150 f-l mr-10">等级名称</label>
            <div class="formControls f-l change">
                <input id="gradeName" name="gradeName" maxlength="20" autocomplete="off" type="text" class="input-text radius w-280" placeholder="请输入等级名称" required>
            </div>
        </div>

        <div class="row cl">
            <label class="form-label w-150 f-l mr-10">商品实付额（元）>=</label>
            <div class="formControls f-l change">
                <input id="moneyLowerLimit" name="moneyLowerLimit" autocomplete="off" onchange="requiredMin(this)" maxlength="15" type="text"
                       class="input-text radius w-100" onkeyup="value=value.replace(/^0(0+)|[^\d]+/g,'')" required>
            </div>

        </div>
        <div class="row cl">
            <label class="form-label w-150 f-l mr-10">积分系数</label>
            <div class="formControls f-l change" style="margin-left: -9px;">
                <input id="gradeCoefficient" style="width: 279px;" oninput="reduce22()" autocomplete="off" name="gradeCoefficient" type="text" class="input-text radius ml-10 w-200"
                       placeholder="请您输入积分系数" ignore="ignore" required onkeyup="this.value= this.value.match(/\d+(\.\d{0,2})?/) ? this.value.match(/\d+(\.\d{0,2})?/)[0] : ''">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label w-150 f-l mr-10">等级说明</label>
            <div class="formControls f-l change">
                <textarea id="gradeExplain" name="gradeExplain" maxlength="200" style=" width: 300px; height: 170px;" class="input-text radius w-100 "
                          placeholder="请输入等级说明" required></textarea>
                <span class="pos-r" style="left:0;top:70px;">（最多可输入200位）</span>
            </div>
        </div>
        <input type="text" id="gradeId" name="gradeId" value="0" hidden>
        <input type="text" id="state" name="state" hidden>
        <div class="row cl">
            <div style="margin-left:245px;">
                <input type="submit" class="btn btn-primary radius" value="确定">
                <input type="button" class="btn radius ml-10" onclick="removeThisIframe()" value="取消">
            </div>
        </div>
    </form>
</article>

<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script> <!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script src="../../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../../ht-js/Project.js?rev=@@hash"></script>
<link type="text/css" rel="stylesheet" href="../../../ht-js/operation-js/time-js/jedate.css">
<script type="text/javascript" src="../../../ht-js/operation-js/time-js/jquery.jedate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/Validform/5.3.2/Validform_v5.3.2_min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<script src="../../../ht-js/memberCentre/levelManage/levelDetail.js?rev=@@hash"></script>
<script>
    $(function(){
        $("#form-level").Validform({
            tiptype:2,
            callback:function(form){
                getList(1)
                return false;
            }
        });
    })
</script>
</body>
</html>